package cn.zhuzicc.service.impl;

import cn.zhuzicc.entity.Employee;
import cn.zhuzicc.service.MyPredicate;

/**
 * @author zhaoxiang
 * @version 1.0
 * @description
 * @Date 2020/11/25 23:29
 */
public class FilterEmployeeByAge implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getAge() > 35;
    }
}
